package com.qfedu.edu.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author xiaobobo
 * @since 2024-09-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("qf_exception_business")
@ApiModel(value="ExceptionBusiness对象", description="")
public class ExceptionBusiness implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键id")
    @TableId(value = "id", type = IdType.AUTO)
    private String id;

    @ApiModelProperty(value = "队列名字")
    private String queueName;

    @ApiModelProperty(value = "队列中的消息")
    private String message;

    @ApiModelProperty(value = "0:表示未重试  1：重试失败")
    private Integer status;

    @ApiModelProperty(value = "交换机名字")
    private String exchangeName;

    @ApiModelProperty(value = "路由key")
    private String routingKey;

    @ApiModelProperty(value = "消息唯一的标识")
    private Integer mqttId;


}
